/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 12-12-12
 * Time: 上午11:11
 * To change this template use File | Settings | File Templates.
 */
Ext.define('Airways.view.system.userrole.UserRoleView',{
    extend:'Ext.panel.Panel',
    alias:'widget.userRoleView',
    layout:'hbox',
    initComponent:function(){
        this.items = this.buildItems();
        this.callParent(arguments);
    },
    buildItems:function(){
        var leftView = Ext.create('Airways.view.system.userrole.UserRoleLeft',{width:'50%'});
        var rightView = Ext.create('Airways.view.system.userrole.UserRoleRight',{flex:1});
        return [leftView,rightView]
    }
});

